home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / x / gui / x3d.lha / x3d / Makefile < prev    next >
Encoding:
Makefile  |  1992-10-08  |  830 b   |  31 lines

  1. #CFLAGS = -g \
  2. -W -Waggregate-return -Wcast-align \
  3. -Wcast-qual -Wcomment -Wformat \
  4. -Winline -Wparentheses -Wpointer-arith \
  5. -Wreturn-type -Wshadow -Wswitch \
  6. -Wtrigraphs -Wuninitialized -Wunused -Wwrite-strings \
  7. -ansi -pedantic 
  8. #-Wconversion -ansi
  9.  
  10. CFLAGS = -O6 -fno-force-mem -fno-force-addr -fomit-frame-pointer \
  11. -finline-functions -fcaller-saves -fstrength-reduce -fthread-jumps \
  12. -funroll-loops -frerun-cse-after-loop -fexpensive-optimizations \
  13. -fdelayed-branch -fschedule-insns -fschedule-insns2 -fthread-jumps
  14.  
  15. # Add -mcpu=??? option above if available on your machine
  16. # Add -DUSE_INTS above if floats are slower than ints on your machine 
  17.  
  18. LIBS   = -lX11 -lm
  19. INCS   = x3d.h 
  20.   CC   = gcc
  21.  
  22. #CFLAGS = -DUSE_INTS
  23. #CFLAGS = 
  24. #  CC   = cc
  25.  
  26. x3d: x3d.c $(INCS)
  27.     $(CC) $(CFLAGS) $(DEFS) -o x3d x3d.c $(LIBS) 
  28.  
  29. clean:
  30.     rm x3d
  31.